CVE-2022-50242
drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init()
Description
In the Linux kernel, the following vulnerability has been resolved: drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init() If vp alloc failed in qlcnic_sriov_init(), all previously allocated vp needs to be freed.
INFO
Published Date :
Sept. 15, 2025, 2:15 p.m.
Last Modified :
Sept. 15, 2025, 3:21 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2022-50242
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Update the Linux kernel.
- Apply the fix for qlcnic_sriov_init().
- Ensure all allocated resources are freed on failure.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-50242
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-50242
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-50242
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-50242
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-50242
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sep. 15, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init() If vp alloc failed in qlcnic_sriov_init(), all previously allocated vp needs to be freed. Added Reference https://git.kernel.org/stable/c/01de1123322e4fe1bbd0fcdf0982511b55519c03 Added Reference https://git.kernel.org/stable/c/0aefadf23ee5e33b747df195ace42d3be2025e4e Added Reference https://git.kernel.org/stable/c/132c502919bb08e16e3054cb28bb7b149ec20cf5 Added Reference https://git.kernel.org/stable/c/14b349a15c297cf3e01b5deb4116f7cf297b6184 Added Reference https://git.kernel.org/stable/c/15770edc01edfce773269e8a443ca8e420f6f859 Added Reference https://git.kernel.org/stable/c/8399b9893548c03fdb18be277bf99d985dbde925 Added Reference https://git.kernel.org/stable/c/a44490abaf00f5b0cc5c448a17eae331c6195d0a Added Reference https://git.kernel.org/stable/c/aa2d179544b6815b4a23c0c44543ba0971d49fce Added Reference https://git.kernel.org/stable/c/dcae92a249551d1a447804b4be1c9fab0e8c95e8